package com.example.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class MoldAllocationPrintVo {

    @ApiModelProperty("单别")
    @JsonProperty("orderType")
    private String orderType;

    @ApiModelProperty("单号")
    @JsonProperty("orderNumber")
    private String orderNumber;

    @ApiModelProperty("申请人名称")
    @JsonProperty("applicantName")
    private String applicantName;

    @ApiModelProperty("收货人名称")
    @JsonProperty("toUserName")
    private String toUserName;

    @ApiModelProperty("打印日期")
    @JsonProperty("printDate")
    @JsonFormat(pattern = "yyyy/MM/dd/ HH:mm:ss")
    private LocalDateTime printDate;

    List<MoldAllocationDetailVo> moldAllocationDetails;



}
